<?php $post= $this->get("crConRep");
?>
<div class="x-list-title">
		<table width="100%" border="0" height="100%">
		<tr>
			<td align="left">
				<h2>Tạo mới người đại diện</h2>
			</td>
			<td align="right">	
				<div class="x-list-options">
					<a class="x-button" href="#Admin/Representative/">Quay lại danh sách</a>
				</div>
			</td>
		</tr>
		</table>	
</div>
<form method="post" action="<?php _actionUrl($this)?>" onsubmit="return ajax_form(this)" id="task-form" enctype="multipart/form-data">
<div class="form-message"></div>
<input type="hidden" value="<?php _e($post['ID']);?>" name="conrep_id">

<table width="100%" background="" border="0" cellpadding="4" class="x-form">
		<tr>
			<td width="200" class="x-form-label">
				Loại hợp đồng đại diện
			</td>
			<td class="x-form-input">
				<select name="type">
					<option value="user_contract">Hợp đồng lao động </option>
					<option value="comp_contract">Hợp đồng kinh tế </option>
				</select>
			</td>
		</tr>
		<tr>
			<td width="200" class="x-form-label">
				Tên người đại diện :
			</td>
			<td class="x-form-input">
				<input name="name" type="text" style="width:200px"  class="x-text" value="<?php echo $post['name'];?>"/>
			</td>
		</tr>
		<tr>
			<td class="x-form-label">
				Quốc gia :
			</td>
			<td class="x-form-input">
				<input name="nation" type="text" style="width:200px"  class="x-text" value="<?php echo $post['nation'];?>"/>
			</td>
		</tr>
		<tr>
			<td class="x-form-label">
				Chức vụ :
			</td>
			<td class="x-form-input">
				<input name="functions" type="text" style="width:200px"  class="x-text" value="<?php echo $post['functions'];?>"/>
			</td>
		</tr>
		<tr>
			<td class="x-form-label">
				Đại diện cho :
			</td>
			<td class="x-form-input">
				<input name="mirror_for" type="text" style="width:200px"  class="x-text" value="<?php echo $post['mirror_for'];?>"/>
			</td>
		</tr>
		<tr>
			<td class="x-form-label">
				Số điện thoại :
			</td>
			<td class="x-form-input">
				<input name="phone" type="text" style="width:200px"  class="x-text" value="<?php echo $post['phone'];?>"/>
			</td>
		</tr>
		<tr>
			<td class="x-form-label">
				Địa chỉ :
			</td>
			<td class="x-form-input">
				<input name="address" type="text" style="width:200px"  class="x-text" value="<?php echo $post['address'];?>"/>
			</td>
		</tr>
		<tr>
			<td class="x-form-label"></td>
			<td class="x-form-input">
				<input type="submit" class="x-button x-save" value="<?php _e($this->get("button_title"));?>"  />
				<input type="reset" class="x-button x-fresh" value="Làm lại"  />
			</td>
		</tr>
	</table>
</form>